package cn.iocoder.yudao.module.system.controller.admin.bookcollection.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 绘本集新增/修改 Request VO")
@Data
public class BookcollectionSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9015")
    private Long id;

    @Schema(description = "绘本集名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "绘本集名称不能为空")
    private String title;

    @Schema(description = "绘本集包含绘本数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "27863")
    @NotNull(message = "绘本集包含绘本数量不能为空")
    private Integer bookCount;

    @Schema(description = "绘本集创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "绘本集创建时间不能为空")
    private LocalDateTime createdAt;

    @Schema(description = "绘本集封面地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "绘本集封面地址不能为空")
    private String coverUrl;

}